import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
import store from './store/index.js';
Vue.config.productionTip = false
Vue.use(uView);
App.mpType = 'app'
var amapFile = require('pages/api/amap-wx.js');
var amapPlugin = new amapFile.AMapWX({
	key: "a9b2dbd9b20b57516b86b83e33d311b8"
});
Vue.prototype.test = amapPlugin
Vue.prototype.$amap = amapPlugin
Vue.prototype.$toast = (title, type = '') => {
	uni.showToast({
		title,
		type,
	})
}
const app = new Vue({
	...App,
	store
})
app.$mount()
